[deps]
gmp

[main]
filesize=1154306
sha512=bbac7d0d63fd3b4cd895e247c448adce7f4c2b6b66ecfe26af138018e0f96991fa8cbd8cbe94f924761aa1ac676e259af1228600dfc0854314e875e7739fd279

[mirrors]
http://ftp.gnu.org/gnu/mpfr/mpfr-3.0.1.tar.bz2

[build]
printf "all:\n\ttrue\n\ninstall:\n\ttrue\n\n" > tests/Makefile.in
[ -n "$CROSS_COMPILE" ] && xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/')"
CC="$CC -static" CFLAGS="$optcflags" ./configure -C $xconfflags \
  --prefix="$butch_prefix" --disable-shared || exit 1
make -j$MAKE_THREADS || exit 1
make DESTDIR="$butch_install_dir" install || exit 1
dest="$butch_install_dir""$butch_prefix"
rm -f "$dest"/lib/libmpfr.la
